Skip to content

Transition to buildStiffnessMatrix over addKToMatrix in ForceField - #643

Open
alxbilger wants to merge 2 commits into
sofa-framework:masterfrom
alxbilger:buildstiffnessmatrix
Open

alxbilger wants to merge 2 commits into
sofa-framework:masterfrom
alxbilger:buildstiffnessmatrix

Conversation

@alxbilger

Copy link
Copy Markdown
Contributor

Based on

Normally, buildStiffnessMatrix is the method called by SOFA. addKToMatrix is called only through the compatibility layer. This PR implements buildStiffnessMatrix without relying on the compatibility layer.

However, it checks if addKToMatrix is implemented in Python. If yes, it runs the compatibility layer with a deprecation message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant